import java.util.HashMap;

public class DifferentialDriveRequest implements Request {
    private HashMap<String, Object> data;

    public DifferentialDriveRequest() {
	data = new HashMap<String, Object>();

	setLinearSpeed(0);
	setAngularSpeed(0);
    }

    public void setLinearSpeed(double linearSpeed) {
	data.put("TargetLinearSpeed", linearSpeed);
    }

    public void setAngularSpeed(double angularSpeed) {
	data.put("TargetAngularSpeed", angularSpeed);
    }

    @Override
    public HashMap<String, Object> getData() {
	return data;
    }

    @Override
    public String getPath() {
	return "/lokarria/differentialdrive";
    }

}
